<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679649764"><span id="local-6989586621679649765"></span></span><span class="hs-pragma">{-# LANGUAGE DeriveDataTypeable #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE DeriveGeneric      #-}</span><span>
</span><span id="line-3"></span><span>
</span><span id="line-4"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.Types.Mixin</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier">Mixin</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-6"></span><span>    </span><span class="annot"><a href="Distribution.Types.Mixin.html#mkMixin"><span class="hs-identifier">mkMixin</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-7"></span><span>    </span><span class="annot"><a href="Distribution.Types.Mixin.html#normaliseMixin"><span class="hs-identifier">normaliseMixin</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-8"></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-9"></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Compat.Prelude.html"><span class="hs-identifier">Distribution.Compat.Prelude</span></a></span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-12"></span><span>
</span><span id="line-13"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.CabalSpecVersion.html"><span class="hs-identifier">Distribution.CabalSpecVersion</span></a></span><span>
</span><span id="line-14"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Parsec.html"><span class="hs-identifier">Distribution.Parsec</span></a></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Pretty.html"><span class="hs-identifier">Distribution.Pretty</span></a></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html"><span class="hs-identifier">Distribution.Types.IncludeRenaming</span></a></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.LibraryName.html"><span class="hs-identifier">Distribution.Types.LibraryName</span></a></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.PackageName.html"><span class="hs-identifier">Distribution.Types.PackageName</span></a></span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.UnqualComponentName.html"><span class="hs-identifier">Distribution.Types.UnqualComponentName</span></a></span><span>
</span><span id="line-20"></span><span>
</span><span id="line-21"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="Distribution.Compat.CharParsing.html"><span class="hs-identifier">Distribution.Compat.CharParsing</span></a></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-22"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="../../pretty/src/Text.PrettyPrint.html#"><span class="hs-identifier">Text.PrettyPrint</span></a></span><span>                </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">PP</span></span><span>
</span><span id="line-23"></span><span>
</span><span id="line-24"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-25"></span><span class="hs-comment">--</span><span>
</span><span id="line-26"></span><span class="hs-comment">-- /Invariant:/ if 'mixinLibraryName' is 'LSubLibName', it's not</span><span>
</span><span id="line-27"></span><span class="hs-comment">-- the same as 'mixinPackageName'. In other words,</span><span>
</span><span id="line-28"></span><span class="hs-comment">-- the same invariant as 'Dependency' has.</span><span>
</span><span id="line-29"></span><span class="hs-comment">--</span><span>
</span><span id="line-30"></span><span id="local-6989586621679649758"><span id="local-6989586621679649759"></span></span><span class="hs-keyword">data</span><span> </span><span id="Mixin"><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-var">Mixin</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="Mixin"><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-var">Mixin</span></a></span></span><span> </span><span class="hs-special">{</span><span> </span><span id="mixinPackageName"><span class="annot"><span class="annottext">Mixin -&gt; PackageName
</span><a href="Distribution.Types.Mixin.html#mixinPackageName"><span class="hs-identifier hs-var hs-var">mixinPackageName</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.PackageName.html#PackageName"><span class="hs-identifier hs-type">PackageName</span></a></span><span>
</span><span id="line-31"></span><span>                   </span><span class="hs-special">,</span><span> </span><span id="mixinLibraryName"><span class="annot"><span class="annottext">Mixin -&gt; LibraryName
</span><a href="Distribution.Types.Mixin.html#mixinLibraryName"><span class="hs-identifier hs-var hs-var">mixinLibraryName</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.LibraryName.html#LibraryName"><span class="hs-identifier hs-type">LibraryName</span></a></span><span>
</span><span id="line-32"></span><span>                   </span><span class="hs-special">,</span><span> </span><span id="mixinIncludeRenaming"><span class="annot"><span class="annottext">Mixin -&gt; IncludeRenaming
</span><a href="Distribution.Types.Mixin.html#mixinIncludeRenaming"><span class="hs-identifier hs-var hs-var">mixinIncludeRenaming</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span class="hs-special">}</span><span>
</span><span id="line-33"></span><span>    </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679649740"><span id="local-6989586621679649742"><span id="local-6989586621679649752"><span class="annot"><span class="annottext">Int -&gt; Mixin -&gt; ShowS
[Mixin] -&gt; ShowS
Mixin -&gt; String
(Int -&gt; Mixin -&gt; ShowS)
-&gt; (Mixin -&gt; String) -&gt; ([Mixin] -&gt; ShowS) -&gt; Show Mixin
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [Mixin] -&gt; ShowS
$cshowList :: [Mixin] -&gt; ShowS
show :: Mixin -&gt; String
$cshow :: Mixin -&gt; String
showsPrec :: Int -&gt; Mixin -&gt; ShowS
$cshowsPrec :: Int -&gt; Mixin -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649714"><span id="local-6989586621679649732"><span id="local-6989586621679649735"><span id="local-6989586621679649737"><span class="annot"><span class="annottext">ReadPrec [Mixin]
ReadPrec Mixin
Int -&gt; ReadS Mixin
ReadS [Mixin]
(Int -&gt; ReadS Mixin)
-&gt; ReadS [Mixin]
-&gt; ReadPrec Mixin
-&gt; ReadPrec [Mixin]
-&gt; Read Mixin
forall a.
(Int -&gt; ReadS a)
-&gt; ReadS [a] -&gt; ReadPrec a -&gt; ReadPrec [a] -&gt; Read a
readListPrec :: ReadPrec [Mixin]
$creadListPrec :: ReadPrec [Mixin]
readPrec :: ReadPrec Mixin
$creadPrec :: ReadPrec Mixin
readList :: ReadS [Mixin]
$creadList :: ReadS [Mixin]
readsPrec :: Int -&gt; ReadS Mixin
$creadsPrec :: Int -&gt; ReadS Mixin
</span><a href="../../base/src/GHC.Read.html#Read"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Read</span></a></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649702"><span id="local-6989586621679649710"><span class="annot"><span class="annottext">Mixin -&gt; Mixin -&gt; Bool
(Mixin -&gt; Mixin -&gt; Bool) -&gt; (Mixin -&gt; Mixin -&gt; Bool) -&gt; Eq Mixin
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: Mixin -&gt; Mixin -&gt; Bool
$c/= :: Mixin -&gt; Mixin -&gt; Bool
== :: Mixin -&gt; Mixin -&gt; Bool
$c== :: Mixin -&gt; Mixin -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649673"><span id="local-6989586621679649675"><span id="local-6989586621679649678"><span id="local-6989586621679649681"><span id="local-6989586621679649684"><span id="local-6989586621679649689"><span id="local-6989586621679649697"><span class="annot"><span class="annottext">Eq Mixin
Eq Mixin
-&gt; (Mixin -&gt; Mixin -&gt; Ordering)
-&gt; (Mixin -&gt; Mixin -&gt; Bool)
-&gt; (Mixin -&gt; Mixin -&gt; Bool)
-&gt; (Mixin -&gt; Mixin -&gt; Bool)
-&gt; (Mixin -&gt; Mixin -&gt; Bool)
-&gt; (Mixin -&gt; Mixin -&gt; Mixin)
-&gt; (Mixin -&gt; Mixin -&gt; Mixin)
-&gt; Ord Mixin
Mixin -&gt; Mixin -&gt; Bool
Mixin -&gt; Mixin -&gt; Ordering
Mixin -&gt; Mixin -&gt; Mixin
forall a.
Eq a
-&gt; (a -&gt; a -&gt; Ordering)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; a)
-&gt; (a -&gt; a -&gt; a)
-&gt; Ord a
min :: Mixin -&gt; Mixin -&gt; Mixin
$cmin :: Mixin -&gt; Mixin -&gt; Mixin
max :: Mixin -&gt; Mixin -&gt; Mixin
$cmax :: Mixin -&gt; Mixin -&gt; Mixin
&gt;= :: Mixin -&gt; Mixin -&gt; Bool
$c&gt;= :: Mixin -&gt; Mixin -&gt; Bool
&gt; :: Mixin -&gt; Mixin -&gt; Bool
$c&gt; :: Mixin -&gt; Mixin -&gt; Bool
&lt;= :: Mixin -&gt; Mixin -&gt; Bool
$c&lt;= :: Mixin -&gt; Mixin -&gt; Bool
&lt; :: Mixin -&gt; Mixin -&gt; Bool
$c&lt; :: Mixin -&gt; Mixin -&gt; Bool
compare :: Mixin -&gt; Mixin -&gt; Ordering
$ccompare :: Mixin -&gt; Mixin -&gt; Ordering
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Ord</span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.Internal.html#Typeable"><span class="hs-identifier hs-type">Typeable</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649633"><span id="local-6989586621679649635"><span id="local-6989586621679649637"><span id="local-6989586621679649639"><span id="local-6989586621679649641"><span id="local-6989586621679649643"><span id="local-6989586621679649645"><span id="local-6989586621679649647"><span id="local-6989586621679649649"><span id="local-6989586621679649651"><span id="local-6989586621679649653"><span id="local-6989586621679649655"><span id="local-6989586621679649660"><span id="local-6989586621679649668"><span class="annot"><span class="annottext">Typeable Mixin
Typeable Mixin
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; Mixin -&gt; c Mixin)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c Mixin)
-&gt; (Mixin -&gt; Constr)
-&gt; (Mixin -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c Mixin))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c Mixin))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; Mixin -&gt; Mixin)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin)
-&gt; Data Mixin
Mixin -&gt; DataType
Mixin -&gt; Constr
(forall b. Data b =&gt; b -&gt; b) -&gt; Mixin -&gt; Mixin
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r
forall r r'.
(r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c Mixin
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; Mixin -&gt; c Mixin
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c Mixin)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c Mixin)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; Mixin -&gt; m Mixin
gmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; u
$cgmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; Mixin -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; Mixin -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; Mixin -&gt; Mixin
$cgmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; Mixin -&gt; Mixin
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c Mixin)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c Mixin)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c Mixin)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c Mixin)
dataTypeOf :: Mixin -&gt; DataType
$cdataTypeOf :: Mixin -&gt; DataType
toConstr :: Mixin -&gt; Constr
$ctoConstr :: Mixin -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c Mixin
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c Mixin
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; Mixin -&gt; c Mixin
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; Mixin -&gt; c Mixin
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">(forall x. Mixin -&gt; Rep Mixin x)
-&gt; (forall x. Rep Mixin x -&gt; Mixin) -&gt; Generic Mixin
forall x. Rep Mixin x -&gt; Mixin
forall x. Mixin -&gt; Rep Mixin x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep Mixin x -&gt; Mixin
$cfrom :: forall x. Mixin -&gt; Rep Mixin x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679649623"><span id="local-6989586621679649625"><span id="local-6989586621679649627"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span></span></span></span><span>
</span><span id="line-36"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679649616"><span id="local-6989586621679649618"><span class="annot"><a href="Distribution.Utils.Structured.html#Structured"><span class="hs-identifier hs-type">Structured</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span></span></span><span>
</span><span id="line-37"></span><span>
</span><span id="line-38"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span> </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679649590"><span class="annot"><span class="annottext">rnf :: Mixin -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Mixin -&gt; ()
forall a. (Generic a, GNFData (Rep a)) =&gt; a -&gt; ()
</span><a href="Distribution.Compat.Prelude.html#genericRnf"><span class="hs-identifier hs-var">genericRnf</span></a></span><span>
</span><span id="line-39"></span><span>
</span><span id="line-40"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679649585"><span class="annot"><a href="Distribution.Pretty.html#Pretty"><span class="hs-identifier hs-type">Pretty</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-41"></span><span>    </span><span id="local-6989586621679649575"><span class="annot"><span class="annottext">pretty :: Mixin -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var hs-var hs-var hs-var">pretty</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span> </span><span id="local-6989586621679649573"><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649573"><span class="hs-identifier hs-var">pn</span></a></span></span><span> </span><span class="annot"><span class="annottext">LibraryName
</span><a href="Distribution.Types.LibraryName.html#LMainLibName"><span class="hs-identifier hs-var">LMainLibName</span></a></span><span> </span><span id="local-6989586621679649571"><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649571"><span class="hs-identifier hs-var">incl</span></a></span></span><span class="hs-special">)</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649573"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">Doc -&gt; Doc -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649571"><span class="hs-identifier hs-var">incl</span></a></span><span>
</span><span id="line-42"></span><span>    </span><span class="annot"><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span> </span><span id="local-6989586621679649569"><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649569"><span class="hs-identifier hs-var">pn</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.LibraryName.html#LSubLibName"><span class="hs-identifier hs-type">LSubLibName</span></a></span><span> </span><span id="local-6989586621679649567"><span class="annot"><span class="annottext">UnqualComponentName
</span><a href="#local-6989586621679649567"><span class="hs-identifier hs-var">ln</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679649566"><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649566"><span class="hs-identifier hs-var">incl</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649569"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">Doc -&gt; Doc -&gt; Doc
</span><a href="Distribution.Compat.Prelude.html#%3C%3C%3E%3E"><span class="hs-operator hs-var">&lt;&lt;&gt;&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#colon"><span class="hs-identifier hs-var">PP.colon</span></a></span><span> </span><span class="annot"><span class="annottext">Doc -&gt; Doc -&gt; Doc
</span><a href="Distribution.Compat.Prelude.html#%3C%3C%3E%3E"><span class="hs-operator hs-var">&lt;&lt;&gt;&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">UnqualComponentName -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">UnqualComponentName
</span><a href="#local-6989586621679649567"><span class="hs-identifier hs-var">ln</span></a></span><span> </span><span class="annot"><span class="annottext">Doc -&gt; Doc -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649566"><span class="hs-identifier hs-var">incl</span></a></span><span>
</span><span id="line-43"></span><span>
</span><span id="line-44"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-45"></span><span class="hs-comment">--</span><span>
</span><span id="line-46"></span><span class="hs-comment">-- &gt;&gt;&gt;  simpleParsec &quot;mylib&quot; :: Maybe Mixin</span><span>
</span><span id="line-47"></span><span class="hs-comment">-- Just (Mixin {mixinPackageName = PackageName &quot;mylib&quot;, mixinLibraryName = LMainLibName, mixinIncludeRenaming = IncludeRenaming {includeProvidesRn = DefaultRenaming, includeRequiresRn = DefaultRenaming}})</span><span>
</span><span id="line-48"></span><span class="hs-comment">--</span><span>
</span><span id="line-49"></span><span class="hs-comment">-- &gt;&gt;&gt;  simpleParsec &quot;thatlib:sublib&quot; :: Maybe Mixin</span><span>
</span><span id="line-50"></span><span class="hs-comment">-- Just (Mixin {mixinPackageName = PackageName &quot;thatlib&quot;, mixinLibraryName = LSubLibName (UnqualComponentName &quot;sublib&quot;), mixinIncludeRenaming = IncludeRenaming {includeProvidesRn = DefaultRenaming, includeRequiresRn = DefaultRenaming}})</span><span>
</span><span id="line-51"></span><span class="hs-comment">--</span><span>
</span><span id="line-52"></span><span class="hs-comment">-- &gt;&gt;&gt;  simpleParsec &quot;thatlib:thatlib&quot; :: Maybe Mixin</span><span>
</span><span id="line-53"></span><span class="hs-comment">-- Just (Mixin {mixinPackageName = PackageName &quot;thatlib&quot;, mixinLibraryName = LMainLibName, mixinIncludeRenaming = IncludeRenaming {includeProvidesRn = DefaultRenaming, includeRequiresRn = DefaultRenaming}})</span><span>
</span><span id="line-54"></span><span class="hs-comment">--</span><span>
</span><span id="line-55"></span><span class="hs-comment">-- Sublibrary syntax is accepted since @cabal-version: 3.4@.</span><span>
</span><span id="line-56"></span><span class="hs-comment">--</span><span>
</span><span id="line-57"></span><span class="hs-comment">-- &gt;&gt;&gt; map (`simpleParsec'` &quot;mylib:sub&quot;) [CabalSpecV3_0, CabalSpecV3_4] :: [Maybe Mixin]</span><span>
</span><span id="line-58"></span><span class="hs-comment">-- [Nothing,Just (Mixin {mixinPackageName = PackageName &quot;mylib&quot;, mixinLibraryName = LSubLibName (UnqualComponentName &quot;sub&quot;), mixinIncludeRenaming = IncludeRenaming {includeProvidesRn = DefaultRenaming, includeRequiresRn = DefaultRenaming}})]</span><span>
</span><span id="line-59"></span><span class="hs-comment">--</span><span>
</span><span id="line-60"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Distribution.Parsec.html#Parsec"><span class="hs-identifier hs-type">Parsec</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-61"></span><span>    </span><span id="local-6989586621679649522"><span class="annot"><span class="annottext">parsec :: forall (m :: * -&gt; *). CabalParsing m =&gt; m Mixin
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var hs-var hs-var hs-var">parsec</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-62"></span><span>        </span><span id="local-6989586621679649520"><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649520"><span class="hs-identifier hs-var">pn</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">m PackageName
forall a (m :: * -&gt; *). (Parsec a, CabalParsing m) =&gt; m a
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var">parsec</span></a></span><span>
</span><span id="line-63"></span><span>        </span><span id="local-6989586621679649519"><span class="annot"><span class="annottext">LibraryName
</span><a href="#local-6989586621679649519"><span class="hs-identifier hs-var">ln</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">LibraryName -&gt; m LibraryName -&gt; m LibraryName
forall (m :: * -&gt; *) a. Alternative m =&gt; a -&gt; m a -&gt; m a
</span><a href="Distribution.Compat.Parsing.html#option"><span class="hs-identifier hs-var">P.option</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryName
</span><a href="Distribution.Types.LibraryName.html#LMainLibName"><span class="hs-identifier hs-var">LMainLibName</span></a></span><span> </span><span class="annot"><span class="annottext">(m LibraryName -&gt; m LibraryName) -&gt; m LibraryName -&gt; m LibraryName
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-64"></span><span>            </span><span class="annot"><span class="annottext">Char
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Char -&gt; m Char
forall (m :: * -&gt; *). CharParsing m =&gt; Char -&gt; m Char
</span><a href="Distribution.Compat.CharParsing.html#char"><span class="hs-identifier hs-var">P.char</span></a></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">':'</span></span><span>
</span><span id="line-65"></span><span>            </span><span class="annot"><span class="annottext">m ()
forall (m :: * -&gt; *). CabalParsing m =&gt; m ()
</span><a href="Distribution.Types.Mixin.html#versionGuardMultilibs"><span class="hs-identifier hs-var">versionGuardMultilibs</span></a></span><span>
</span><span id="line-66"></span><span>            </span><span class="annot"><span class="annottext">PWarnType -&gt; String -&gt; m ()
forall (m :: * -&gt; *). CabalParsing m =&gt; PWarnType -&gt; String -&gt; m ()
</span><a href="Distribution.Parsec.html#parsecWarning"><span class="hs-identifier hs-var">parsecWarning</span></a></span><span> </span><span class="annot"><span class="annottext">PWarnType
</span><a href="Distribution.Parsec.Warning.html#PWTExperimental"><span class="hs-identifier hs-var">PWTExperimental</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;colon specifier is experimental feature (issue #5660)&quot;</span></span><span>
</span><span id="line-67"></span><span>            </span><span class="annot"><span class="annottext">UnqualComponentName -&gt; LibraryName
</span><a href="Distribution.Types.LibraryName.html#LSubLibName"><span class="hs-identifier hs-var">LSubLibName</span></a></span><span> </span><span class="annot"><span class="annottext">(UnqualComponentName -&gt; LibraryName)
-&gt; m UnqualComponentName -&gt; m LibraryName
forall (f :: * -&gt; *) a b. Functor f =&gt; (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/Data.Functor.html#%3C%24%3E"><span class="hs-operator hs-var">&lt;$&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">m UnqualComponentName
forall a (m :: * -&gt; *). (Parsec a, CabalParsing m) =&gt; m a
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var">parsec</span></a></span><span>
</span><span id="line-68"></span><span>        </span><span class="annot"><span class="annottext">m ()
forall (m :: * -&gt; *). CharParsing m =&gt; m ()
</span><a href="Distribution.Compat.CharParsing.html#spaces"><span class="hs-identifier hs-var">P.spaces</span></a></span><span>
</span><span id="line-69"></span><span>        </span><span id="local-6989586621679649511"><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649511"><span class="hs-identifier hs-var">incl</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">m IncludeRenaming
forall a (m :: * -&gt; *). (Parsec a, CabalParsing m) =&gt; m a
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var">parsec</span></a></span><span>
</span><span id="line-70"></span><span>        </span><span class="annot"><span class="annottext">Mixin -&gt; m Mixin
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">PackageName -&gt; LibraryName -&gt; IncludeRenaming -&gt; Mixin
</span><a href="Distribution.Types.Mixin.html#mkMixin"><span class="hs-identifier hs-var">mkMixin</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649520"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryName
</span><a href="#local-6989586621679649519"><span class="hs-identifier hs-var">ln</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649511"><span class="hs-identifier hs-var">incl</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-71"></span><span>      </span><span class="hs-keyword">where</span><span>
</span><span id="line-72"></span><span>
</span><span id="line-73"></span><span id="local-6989586621679649898"><span class="annot"><a href="Distribution.Types.Mixin.html#versionGuardMultilibs"><span class="hs-identifier hs-type">versionGuardMultilibs</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Parsec.html#CabalParsing"><span class="hs-identifier hs-type">CabalParsing</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679649898"><span class="hs-identifier hs-type">m</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679649898"><span class="hs-identifier hs-type">m</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span></span><span>
</span><span id="line-74"></span><span id="versionGuardMultilibs"><span class="annot"><span class="annottext">versionGuardMultilibs :: forall (m :: * -&gt; *). CabalParsing m =&gt; m ()
</span><a href="Distribution.Types.Mixin.html#versionGuardMultilibs"><span class="hs-identifier hs-var hs-var">versionGuardMultilibs</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-75"></span><span>  </span><span id="local-6989586621679649495"><span class="annot"><span class="annottext">CabalSpecVersion
</span><a href="#local-6989586621679649495"><span class="hs-identifier hs-var">csv</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">m CabalSpecVersion
forall (m :: * -&gt; *). CabalParsing m =&gt; m CabalSpecVersion
</span><a href="Distribution.Parsec.html#askCabalSpecVersion"><span class="hs-identifier hs-var">askCabalSpecVersion</span></a></span><span>
</span><span id="line-76"></span><span>  </span><span class="annot"><span class="annottext">Bool -&gt; m () -&gt; m ()
forall (f :: * -&gt; *). Applicative f =&gt; Bool -&gt; f () -&gt; f ()
</span><a href="../../base/src/GHC.Base.html#when"><span class="hs-identifier hs-var">when</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">CabalSpecVersion
</span><a href="#local-6989586621679649495"><span class="hs-identifier hs-var">csv</span></a></span><span> </span><span class="annot"><span class="annottext">CabalSpecVersion -&gt; CabalSpecVersion -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;</span></span><span> </span><span class="annot"><span class="annottext">CabalSpecVersion
</span><a href="Distribution.CabalSpecVersion.html#CabalSpecV3_4"><span class="hs-identifier hs-var">CabalSpecV3_4</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">(m () -&gt; m ()) -&gt; m () -&gt; m ()
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; m ()
forall (m :: * -&gt; *) a. MonadFail m =&gt; String -&gt; m a
</span><a href="../../base/src/Control.Monad.Fail.html#fail"><span class="hs-identifier hs-var">fail</span></a></span><span> </span><span class="annot"><span class="annottext">(String -&gt; m ()) -&gt; String -&gt; m ()
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">[String] -&gt; String
</span><a href="../../base/src/Data.OldList.html#unwords"><span class="hs-identifier hs-var">unwords</span></a></span><span>
</span><span id="line-77"></span><span>    </span><span class="hs-special">[</span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Sublibrary mixin syntax used.&quot;</span></span><span>
</span><span id="line-78"></span><span>    </span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;To use this syntax the package needs to specify at least 'cabal-version: 3.4'.&quot;</span></span><span>
</span><span id="line-79"></span><span>    </span><span class="hs-special">]</span><span>
</span><span id="line-80"></span><span>
</span><span id="line-81"></span><span class="hs-comment">-- | Smart constructor of 'Mixin', enforces invariant.</span><span>
</span><span id="line-82"></span><span class="hs-comment">-- </span><span>
</span><span id="line-83"></span><span class="hs-comment">-- @since 3.4.0.0</span><span>
</span><span id="line-84"></span><span class="annot"><a href="Distribution.Types.Mixin.html#mkMixin"><span class="hs-identifier hs-type">mkMixin</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.PackageName.html#PackageName"><span class="hs-identifier hs-type">PackageName</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Distribution.Types.LibraryName.html#LibraryName"><span class="hs-identifier hs-type">LibraryName</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span>
</span><span id="line-85"></span><span id="mkMixin"><span class="annot"><span class="annottext">mkMixin :: PackageName -&gt; LibraryName -&gt; IncludeRenaming -&gt; Mixin
</span><a href="Distribution.Types.Mixin.html#mkMixin"><span class="hs-identifier hs-var hs-var">mkMixin</span></a></span></span><span> </span><span id="local-6989586621679649489"><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649489"><span class="hs-identifier hs-var">pn</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.LibraryName.html#LSubLibName"><span class="hs-identifier hs-type">LSubLibName</span></a></span><span> </span><span id="local-6989586621679649488"><span class="annot"><span class="annottext">UnqualComponentName
</span><a href="#local-6989586621679649488"><span class="hs-identifier hs-var">uqn</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679649487"><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649487"><span class="hs-identifier hs-var">incl</span></a></span></span><span>
</span><span id="line-86"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; UnqualComponentName
</span><a href="Distribution.Types.UnqualComponentName.html#packageNameToUnqualComponentName"><span class="hs-identifier hs-var">packageNameToUnqualComponentName</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649489"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">UnqualComponentName -&gt; UnqualComponentName -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">UnqualComponentName
</span><a href="#local-6989586621679649488"><span class="hs-identifier hs-var">uqn</span></a></span><span>
</span><span id="line-87"></span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; LibraryName -&gt; IncludeRenaming -&gt; Mixin
</span><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-var">Mixin</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649489"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryName
</span><a href="Distribution.Types.LibraryName.html#LMainLibName"><span class="hs-identifier hs-var">LMainLibName</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649487"><span class="hs-identifier hs-var">incl</span></a></span><span>
</span><span id="line-88"></span><span class="annot"><a href="Distribution.Types.Mixin.html#mkMixin"><span class="hs-identifier hs-var">mkMixin</span></a></span><span> </span><span id="local-6989586621679649485"><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649485"><span class="hs-identifier hs-var">pn</span></a></span></span><span> </span><span id="local-6989586621679649484"><span class="annot"><span class="annottext">LibraryName
</span><a href="#local-6989586621679649484"><span class="hs-identifier hs-var">ln</span></a></span></span><span> </span><span id="local-6989586621679649483"><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649483"><span class="hs-identifier hs-var">incl</span></a></span></span><span>
</span><span id="line-89"></span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; LibraryName -&gt; IncludeRenaming -&gt; Mixin
</span><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-var">Mixin</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649485"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryName
</span><a href="#local-6989586621679649484"><span class="hs-identifier hs-var">ln</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649483"><span class="hs-identifier hs-var">incl</span></a></span><span>
</span><span id="line-90"></span><span>
</span><span id="line-91"></span><span class="hs-comment">-- | Restore invariant</span><span>
</span><span id="line-92"></span><span class="annot"><a href="Distribution.Types.Mixin.html#normaliseMixin"><span class="hs-identifier hs-type">normaliseMixin</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span>
</span><span id="line-93"></span><span id="normaliseMixin"><span class="annot"><span class="annottext">normaliseMixin :: Mixin -&gt; Mixin
</span><a href="Distribution.Types.Mixin.html#normaliseMixin"><span class="hs-identifier hs-var hs-var">normaliseMixin</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.Mixin.html#Mixin"><span class="hs-identifier hs-type">Mixin</span></a></span><span> </span><span id="local-6989586621679649482"><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649482"><span class="hs-identifier hs-var">pn</span></a></span></span><span> </span><span id="local-6989586621679649481"><span class="annot"><span class="annottext">LibraryName
</span><a href="#local-6989586621679649481"><span class="hs-identifier hs-var">ln</span></a></span></span><span> </span><span id="local-6989586621679649480"><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649480"><span class="hs-identifier hs-var">incl</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; LibraryName -&gt; IncludeRenaming -&gt; Mixin
</span><a href="Distribution.Types.Mixin.html#mkMixin"><span class="hs-identifier hs-var">mkMixin</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="#local-6989586621679649482"><span class="hs-identifier hs-var">pn</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryName
</span><a href="#local-6989586621679649481"><span class="hs-identifier hs-var">ln</span></a></span><span> </span><span class="annot"><span class="annottext">IncludeRenaming
</span><a href="#local-6989586621679649480"><span class="hs-identifier hs-var">incl</span></a></span><span>
</span><span id="line-94"></span></pre></body></html>